package domain;

public class Word {
    String word;
    int bid;
    int frequency;

    public Word(String word, int bid, int frequency) {
        this.word = word;
        this.bid = bid;
        this.frequency = frequency;
    }

    public Word() {
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public int getFrequency() {
        return frequency;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    @Override
    public String toString() {
        return "Word{" +
                "word='" + word + '\'' +
                ", bid=" + bid +
                ", frequency=" + frequency +
                '}';
    }
}
